package com.bdqn.gulimall.seckill.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * ScheduledConfig
 *
 * @author f
 * @since 2022/3/11
 */

@EnableAsync //开启异步
@EnableScheduling // 开启定时任务
@Configuration
public class ScheduledConfig {
}
